/*
 * Copyright (C) 2020 Yago Fontoura do Rosario <yago.rosario@hotmail.com.br>
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. Neither the name of the copyright holder nor the names of its
 *    contributors may be used to endorse or promote products derived
 *    from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
 * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 * OF THE POSSIBILITY OF SUCH DAMAGE.
 */
/**
 * \addtogroup nrf-platforms
 * @{
 *
 * \file
 *  Configuration for the nrf platform
 */
#ifndef CONTIKI_CONF_H
#define CONTIKI_CONF_H

/*---------------------------------------------------------------------------*/
#include "bsp.h"
#include "app_conf.h"
#include "project-conf.h"

/*---------------------------------------------------------------------------*/
#ifndef CONTIKI_VERSION_STRING
#define CONTIKI_VERSION_STRING "Contiki"
#endif

/*---------------------------------------------------------------------------*/
#define CCIF
#define CLIF

/*---------------------------------------------------------------------------*/
#define AUTOSTART_ENABLE                        1

/*----------------------------------------------------------------------------*/
#define PLATFORM_CONF_SUPPORTS_STACK_CHECK      0

/*----------------------------------------------------------------------------*/
//#define CLOCK_CONF_SECOND       100
#define RTIMER_ARCH_SECOND      32768

/* Configure Network --------------------------------------------------------*/
#ifndef NETSTACK_CONF_NETWORK
#define NETSTACK_CONF_NETWORK       nullnet_driver // ethernet UIP_CONF_LLH_LEN=14
#endif

#ifndef NETSTACK_CONF_MAC
#define NETSTACK_CONF_MAC           nullmac_driver
#endif

#ifndef NETSTACK_CONF_RDC
#define NETSTACK_CONF_RDC           nullrdc_driver
#endif

#ifndef NETSTACK_CONF_RADIO
#define NETSTACK_CONF_RADIO         nullradio_driver
#endif

#ifndef NETSTACK_CONF_FRAMER
#define NETSTACK_CONF_FRAMER        framer_nullmac
#endif
   
#ifndef NETSTACK_CONF_ROUTING
#define NETSTACK_CONF_ROUTING       nullrouting_driver
#endif


#ifndef QUEUEBUF_CONF_ENABLED
#define QUEUEBUF_CONF_ENABLED       0
#endif

/*---------------------------------------------------------------------------*/
#endif /* CONTIKI_CONF_H */


/** @} */
